﻿<controls:ChildWindow x:Class="SilveR.ValidationMessagesWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="300"
           Title="Validation Messages">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        <TextBlock x:Name="txtHeader" Text="" Margin="6,6,6,6" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
        <TextBox x:Name="txtWarnings" Margin="6,6,6,6" IsReadOnly="True" HorizontalAlignment="Stretch" Grid.Row="1" VerticalAlignment="Stretch" TextWrapping="Wrap" />
        <TextBlock x:Name="txtQuestion" Text="" TextWrapping="Wrap"  Grid.Row="3" Margin="6,6,6,6"/>
        <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,6,6,0" Grid.Row="4" />
        <Button x:Name="btnOK" Content="OK" Click="btnOK_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,6,85,0" Grid.Row="4" />
    </Grid>
</controls:ChildWindow>